<section class="Hui-container">
	<div class="Hui-wraper">	
		<div id="a-contact">		
		<h2>联系方式</h2>
		<h5>*是必填信息</h5>
			<div class="line"></div>
			<br>
			<br>
			<form method="post" action="{:U('Acontact/save')}" id="contact_form" class="form form-horizontal responsive">	
				<div class="row cl">				
					<label class="form-label col-xs-2">*联系电话：</label>
					<div class="formControls col-xs-5"> 				
						<input type="text" class="input-text" name="phone" id="phone" datatype="phone" nullmsg="联系电话不能为空">		
					</div>
					<div class="col-xs-5"> </div>				
				</div>	
				<br>
				<div class="row cl">				
					<label class="form-label col-xs-2">*国内详细住址：</label>
					<div class="formControls col-xs-5"> 				
						<input type="text" class="input-text" maxlength="99" placeholder="请填写你在中国大陆的家庭住址" name="address" id="address" datatype="en-ch" nullmsg="住址不能为空">		
					</div>
					<div class="col-xs-5"> </div>				
				</div>	
				<br>
				<div class="row cl">				
					<label class="form-label col-xs-2">*邮编：</label>
					<div class="formControls col-xs-5"> 				
						<input type="text" class="input-text" name="postal" id="postal" datatype="zip" nullmsg="邮编不能为空">		
					</div>
					<div class="col-xs-5"> </div>				
				</div>	
				<br>
				<div class="row cl">
					<div class="col-xs-10 col-xs-offset-2">
						<a href="{:U('Abasics/index')}" class="btn btn-warning radius previous_form">上一步</a>
						<input class="btn btn-primary" type="submit" value="&nbsp;&nbsp;保存&下一步&nbsp;&nbsp;">
					</div>
				</div>
			</form>		
		</div>
	</div>
</section>

<script>
$(function(){
	$('.skin-minimal input').iCheck({
		checkboxClass: 'icheckbox-blue',
		radioClass: 'iradio-blue',
		increaseArea: '20%'
	});
	$("#contact_form").Validform({
		tiptype:2
	});
	
	document.getElementById('phone').value="{$data.phone}";
	document.getElementById('address').value="{$data.address}";
	document.getElementById('postal').value="{$data.postal}";
	
});
</script>	
		